package cn.edu.fzu.homemaking.mapper;

import cn.edu.fzu.homemaking.domain.entity.SysUserSso;
import cn.edu.fzu.homemaking.domain.enums.SexEnum;
import cn.edu.fzu.homemaking.domain.enums.StatusEnum;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author yifan
 * @date 2023/3/30
 */
public interface SsoUserMapper {

    SysUserSso getById(@Param("id") Long id);

    Long insert(SysUserSso user);

    void update(@Param("email") String email, @Param("phone") String phone, @Param("address") String address,
                @Param("faceUrl") String faceUrl, @Param("status") StatusEnum status);


    List<SysUserSso> listUsers(@Param("userIds") List<Long> userIds);

}
